﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AccountFilterWebPartUserControl.ascx.cs" Inherits="Docsbox.AccountFilterWebPart.AccountFilterWebPartUserControl" %>

<style type="text/css">
    .field-label {
        width: 150px;
        text-align: right;
        padding: 5px;
    }
    .field-data {
        width: 250px;
        text-align: left;
        padding: 5px 10px 5px 10px;
    }
    .field-center {
        text-align: center;
        padding: 10px;
    }
</style>

<fieldset id="fieldsetSearchFilter">
    <legend>Search Account</legend>
    <table style="margin-left: 40px; margin-right:40px;">
        <tr><td class="field-label">Branch</td><td class="field-data">
                               <asp:DropDownList runat="server" ID="ddlBranch" Width="180px"/>
                           </td></tr>
        <tr><td class="field-label">Account Status</td><td class="field-data">
                                       <asp:DropDownList runat="server" ID="ddlStatus" Width="180px"/>
                                   </td></tr>
        <tr><td class="field-label">Deal No.</td>
            <td class="field-data"><asp:TextBox runat="server" ID="txtDealNo" Width="180px"></asp:TextBox></td>
        </tr>
        <tr><td class="field-label">Firstname</td>
            <td class="field-data"><asp:TextBox runat="server" ID="txtFirstname" Width="180px"></asp:TextBox></td>
        </tr>
        <tr><td class="field-label">Surname</td>
            <td class="field-data"><asp:TextBox runat="server" ID="txtSurname" Width="180px"></asp:TextBox></td>
        </tr>
        <tr><td class="field-label">Reg No.</td>
            <td class="field-data"><asp:TextBox runat="server" ID="txtRegNo" Width="180px"></asp:TextBox></td>
        </tr>
        <tr><td colspan="2" class="field-center"><asp:Button runat="server" ID="btnSearch" 
                Text="Search" onclick="btnSearch_Click"/></td></tr>
        <tr>
            <td colspan="2" style="text-align: right; font-size: 11px; line-height:30px;">* Note: only the top 100 records will be displayed.</td>
        </tr>
    </table>
</fieldset>